<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
	<head>
		<title>Fraguion</title>
		<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=PT+Serif">
		<link rel='stylesheet' href='../css/login.css' type='text/css'>
		<script type="text/javascript" src="../js/jquery.js"></script>
		<script type='text/javascript' src='../js/login.js'></script>
	</head>
	<body id="body" align="center">
	<div id="main_div" >
	<c:if test="${not empty error_list}">
			<div class="error_box">
				<c:forEach items="${error_list}" var="error_li">
					<div>
						<c:out value="${error_li}" />
					</div>
				</c:forEach>
			</div>

	</c:if>
		<div id="login_div" class="center_container">
			<form action="/login" method="post">
				<div class="form_row ">
					<div class="form_label left">User:</div>
					<input name="username" class="input left" type="text" value="<c:out value="${login_form.username}" />"/>	
				</div>
				<div class="form_row">
					<div class="form_label left clear">Password: </div>
					<input name="password" class="input left" type="password"/>	
				</div>
				
				<input id="login_button" class="submit_form_button right" type="submit" value="Signin"/>
			</form>
		</div>		
	</div>
	</body>
</html
